package com.xzm.elastic.repository;

import com.xzm.elastic.bean.Book;
import org.elasticsearch.bootstrap.Elasticsearch;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import java.util.List;

/**
 * @author 3052
 * @create 2020-09-18 23:29
 */
public interface BookRepository extends ElasticsearchRepository<Book,Integer>{
    public List<Book> findBookByBookName(String bookName);
}
